package com.smartao.base.menu;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.smartao.core.service.BaseService;

@Transactional(readOnly=true)
public interface MenuService extends BaseService<Menu, Long>{
	
	List<Menu> findSubMenuByMenutype(Long parent,MenuType menutype);
	
	List<Menu> findByMenutype(MenuType menutype);
	
	void updateVisibility(Long id, boolean visible);
}
